package com.activenetwork.smlite.page;

import com.activenetwork.custom.uielement.UIElement;
import com.activenetwork.custom.uielement.decorate.InJson;
import com.activenetwork.smlite.page.event.EventsHomeView;
import com.activenetwork.smlite.page.generic.PageObject;
import com.activenetwork.smlite.page.stub.StubAdministrationTemplate;
import com.activenetwork.smlite.page.stub.StubReportsTemplate;
import com.activenetwork.util.PageLoader;

public class NavigateBar implements PageObject {
	
	@InJson
	private UIElement events;
	@InJson
	private UIElement reports;
	@InJson
	private UIElement administration;
	
	public PageObject events(){
		events.click();
		return PageLoader.load(EventsHomeView.class);
	}
	
	public PageObject reports(){
		reports.click();
		return PageLoader.load(StubReportsTemplate.class);
	}
	
	public PageObject administration(){
		administration.click();
		return PageLoader.load(StubAdministrationTemplate.class);
	}
	
	

}
